package com.yungu.swift.system.sys.model.enums;

/**
 * @author : cuixiuyin
 * @date : 2019/6/13
 */
public enum SysErrorEnum {

    /**
     * sys 模块错误码信息返回
     */
    ACCOUNT_REPACT(5000, "账号已存在"),
    MOBILE_ILLEGAL(5001, "请输入正确手机号"),
    DEPARTIME_LIMIT(5002, "出发时间被限制"),
    ;

    private Integer code;
    private String msg;

    SysErrorEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
